package main

import (
	"fmt"
)

//add method
func add(x int,y int) int {
	return x+y
}

//swap method
func swap(x string,y string) (string,string) {
	return y,x
}

//split
func split(sum int) (x,y int) {
	x=sum*4/9
	y=sum-x
	return x,y
}


func main() {
	fmt.Println(add(43,23))		//add 
	a,b:=swap("hello","world")	
	fmt.Println(a,b)	//swap
	fmt.Println(split(10))
}